package com.link2room.rodimus.service.impl;

import com.link2room.common.dao.ICommonDao;
import com.link2room.rodimus.entity.MallOrderOptStaEntity;
import com.link2room.rodimus.service.IMallOrderOptStaService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by LN on 2018/1/24
 */
@Component("mallOrderOptStaService")
public class MallOrderOptStaServiceImpl implements IMallOrderOptStaService {
    @Resource
    private ICommonDao commonDao;

    @Transactional
    @Override
    public void mallOrderOptSave(MallOrderOptStaEntity mallEntity) throws Exception {
        commonDao.save(mallEntity);
    }
}
